#pragma once
#include <d3dx9.h>
#include <vector>



class cGrid
{
public:
	cGrid(void);
	~cGrid(void);
	void set(float _fspace, float _fcount);
	void render(void);
	void release(void);
	

public:
	LPDIRECT3DVERTEXBUFFER9 m_pVB;//grid plan
	LPDIRECT3DVERTEXBUFFER9 m_pVB2;//grid xyz
	UINT VB1FaceCount;
	UINT VB2FaceCount;
};
